package com.datatypes;

public class listItemData {
	
	private Track track = null;
	private Friend friend = null;
	private Activity activity = null;
	private boolean ghostMode = false;
	private boolean activityMode = false;
	private boolean friendMode = false;

	/** for the Activity list **/
	public listItemData(Activity activity) {
		this.activity = activity;
		this.activityMode = true;
	}

	/** for Ghost list **/
	public listItemData(Track t) {
		this.setTrack(t);
		this.ghostMode = true;
	}

	/** for friends list **/
	public listItemData(Friend f) {
		this.friend = f;
		this.friendMode = true;
	}

	public Friend getFriend() {
		return friend;
	}

	public void setFriend(Friend friend) {
		this.friend = friend;
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public Track getTrack() {
		return track;
	}

	public void setTrack(Track track) {
		this.track = track;
	}

	public boolean isGhostMode() {
		return ghostMode;
	}

	public void setGhostMode(boolean ghostMode) {
		this.ghostMode = ghostMode;
	}

	public boolean isActivityMode() {
		return activityMode;
	}

	public void setActivityMode(boolean activityMode) {
		this.activityMode = activityMode;
	}

	public boolean isFriendMode() {
		return friendMode;
	}

	public void setFriendMode(boolean friendMode) {
		this.friendMode = friendMode;
	}

}
